700 |
How can I change the shape of the task bar
public void init() { COM com_Bar,com_Items; anytype var_Bar,var_Items; ; super(); var_Bar = COM::createFromObject(exg2antt1.Chart().Bars()).Copy("Task","T2"); com_Bar = var_Bar; com_Bar.StartShape(2/*exShapeIconDown1*/); com_Bar.StartColor(WinApi::RGB2int(255,0,0)); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); exg2antt1.Columns().Add("Column"); var_Items = exg2antt1.Items(); com_Items = var_Items; com_Items.AddBar(com_Items.AddItem("Item 1"),"T2",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213))); com_Items.AddBar(com_Items.AddItem("Item 2"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213))); } |
699 |
How can I change the starting shape for all task bars
public void init() { COM com_Bar,com_Items; anytype var_Bar,var_Items; ; super(); var_Bar = COM::createFromObject(exg2antt1.Chart().Bars()).Item("Task"); com_Bar = var_Bar; com_Bar.StartShape(1/*exShapeIconUp1*/); com_Bar.StartColor(WinApi::RGB2int(255,0,0)); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); exg2antt1.Columns().Add("Column"); var_Items = exg2antt1.Items(); com_Items = var_Items; com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213))); } |
698 |
How can I change the height of the task bar
public void init() { COM com_Bar,com_Items; anytype var_Bar,var_Items; ; super(); var_Bar = COM::createFromObject(exg2antt1.Chart().Bars()).Copy("Task","T2"); com_Bar = var_Bar; com_Bar.Height(17); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); exg2antt1.Columns().Add("Column"); var_Items = exg2antt1.Items(); com_Items = var_Items; com_Items.AddBar(com_Items.AddItem("Item 1"),"T2",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213))); com_Items.AddBar(com_Items.AddItem("Item 2"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213))); } |
697 |
How can I change the height for all task bars
public void init() { COM com_Bar,com_Items; anytype var_Bar,var_Items; ; super(); var_Bar = COM::createFromObject(exg2antt1.Chart().Bars()).Item("Task"); com_Bar = var_Bar; com_Bar.Height(17); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); exg2antt1.Columns().Add("Column"); var_Items = exg2antt1.Items(); com_Items = var_Items; com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213))); } |
696 |
How can I change the color of the task bar
public void init() { COM com_Bar,com_Items; anytype var_Bar,var_Items; ; super(); var_Bar = COM::createFromObject(exg2antt1.Chart().Bars()).Copy("Task","T2"); com_Bar = var_Bar; com_Bar.Color(WinApi::RGB2int(255,0,0)); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); exg2antt1.Columns().Add("Column"); var_Items = exg2antt1.Items(); com_Items = var_Items; com_Items.AddBar(com_Items.AddItem("Item 1"),"T2",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213))); com_Items.AddBar(com_Items.AddItem("Item 2"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213))); } |
695 |
How can I change the color for all task bars
public void init() { COM com_Bar,com_Items; anytype var_Bar,var_Items; ; super(); var_Bar = COM::createFromObject(exg2antt1.Chart().Bars()).Item("Task"); com_Bar = var_Bar; com_Bar.Color(WinApi::RGB2int(255,0,0)); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); exg2antt1.Columns().Add("Column"); var_Items = exg2antt1.Items(); com_Items = var_Items; com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213))); } |
694 |
How can I change the shape for all task bars
public void init() { COM com_Bar,com_Items; anytype var_Bar,var_Items; ; super(); var_Bar = COM::createFromObject(exg2antt1.Chart().Bars()).Item("Task"); com_Bar = var_Bar; com_Bar.Shape(4/*exShapeSolidDown*/); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); exg2antt1.Columns().Add("Column"); var_Items = exg2antt1.Items(); com_Items = var_Items; com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213))); } |
693 |
How can I change the shape of the task bar
public void init() { COM com_Bar,com_Items; anytype var_Bar,var_Items; ; super(); var_Bar = COM::createFromObject(exg2antt1.Chart().Bars()).Copy("Task","T2"); com_Bar = var_Bar; com_Bar.Shape(19/*exShapeThinCenter*/); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); exg2antt1.Columns().Add("Column"); var_Items = exg2antt1.Items(); com_Items = var_Items; com_Items.AddBar(com_Items.AddItem("Item 1"),"T2",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213))); } |
692 |
How can I change the pattern or style for all task bars
public void init() { COM com_Bar,com_Items; anytype var_Bar,var_Items; ; super(); var_Bar = COM::createFromObject(exg2antt1.Chart().Bars()).Item("Task"); com_Bar = var_Bar; com_Bar.Pattern(5/*exPatternFDiagonal*/); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); exg2antt1.Columns().Add("Column"); var_Items = exg2antt1.Items(); com_Items = var_Items; com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213))); } |
691 |
How can I change the pattern of the task bar
public void init() { COM com_Bar,com_Items; anytype var_Bar,var_Items; ; super(); var_Bar = COM::createFromObject(exg2antt1.Chart().Bars()).Copy("Task","T2"); com_Bar = var_Bar; com_Bar.Pattern(5/*exPatternFDiagonal*/); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); exg2antt1.Columns().Add("Column"); var_Items = exg2antt1.Items(); com_Items = var_Items; com_Items.AddBar(com_Items.AddItem("Item 1"),"T2",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213))); } |
690 |
How can I add a percent bar in the chart area, so the task bar is splited for non working days or hours
public void init() { COM com_Bar,com_Items; anytype var_Bar,var_Items; int h; ; super(); exg2antt1.Columns().Add("Task"); var_Bar = COM::createFromObject(exg2antt1.Chart().Bars()).Add("Task%Progress:Split"); com_Bar = var_Bar; com_Bar.Shortcut("TS"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; h = com_Items.AddItem("Task 1"); com_Items.AddBar(h,"TS",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/16/2001",213)),"P1"); com_Items.ItemBar(h,"P1",12/*exBarPercent*/,COMVariant::createFromReal(0.14)); com_Items.ItemBar(h,"P1",14/*exBarShowPercentCaption*/,COMVariant::createFromBoolean(true)); } |
689 |
How can I add a bar in the chart area, so the task bar is splited for non working days or hours
public void init() { COM com_Bar,com_Items; anytype var_Bar,var_Items; ; super(); exg2antt1.Columns().Add("Task"); var_Bar = COM::createFromObject(exg2antt1.Chart().Bars()).Add("Task:Split"); com_Bar = var_Bar; com_Bar.Shortcut("TS"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; com_Items.AddBar(com_Items.AddItem("Task 1"),"TS",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/16/2001",213))); } |
688 |
How can I add a split bar in the chart area
public void init() { COM com_Items; anytype var_Items; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; com_Items.AddBar(com_Items.AddItem("Task 1"),"Split",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213))); } |
687 |
How can I add a progress bar in the chart area
public void init() { COM com_Items; anytype var_Items; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; com_Items.AddBar(com_Items.AddItem("Task 1"),"Progress",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213))); } |
686 |
How can I add a milestone bar in the chart area
public void init() { COM com_Items; anytype var_Items; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; com_Items.AddBar(com_Items.AddItem("Task 1"),"Milestone",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/2/2001",213))); } |
685 |
How can I add a summary bar in the chart area
public void init() { COM com_Items; anytype var_Items; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; com_Items.AddBar(com_Items.AddItem("Task 1"),"Summary",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213))); } |
684 |
How can I add a project summary bar in the chart area
public void init() { COM com_Items; anytype var_Items; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; com_Items.AddBar(com_Items.AddItem("Task 1"),"Project Summary",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213))); } |
683 |
How can I add a deadline bar in the chart area
public void init() { COM com_Items; anytype var_Items; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; com_Items.AddBar(com_Items.AddItem("Task 1"),"Deadline",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/2/2001",213))); } |
682 |
How can I add a task bar in the chart area
public void init() { COM com_Items; anytype var_Items; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; com_Items.AddBar(com_Items.AddItem("Task 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213))); } |
681 |
How can I assign a picture or an icon to a bar in the chart
public void init() { COM com_Items; anytype var_Items; int h; ; super(); exg2antt1.HTMLPicture("p1","c:\\exontrol\\images\\zipdisk.gif"); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; h = com_Items.AddItem("Task 1"); com_Items.ItemHeight(h,48); com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),"K1"); com_Items.ItemBar(h,"K1",3/*exBarCaption*/,"<img>p1</img>"); com_Items.ItemBar(h,"K1",4/*exBarHAlignCaption*/,COMVariant::createFromInt(2)); } |
680 |
How can I assign a picture or an icon to a bar in the chart
public void init() { COM com_Items; anytype var_Items; int h; str var_s; ; super(); var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql"; var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0"; var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN"; var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="; exg2antt1.Images(COMVariant::createFromStr(var_s)); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; h = com_Items.AddItem("Task 1"); com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),"K1"); com_Items.ItemBar(h,"K1",3/*exBarCaption*/,"<img>1</img>"); } |
679 |
How can I display or add an anchor or a hyperlink in the link
public void init() { COM com_Items; anytype var_Items; int h1,h2; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; h1 = com_Items.AddItem("Task 1"); com_Items.AddBar(h1,"Task",COMVariant::createFromDate(str2Date("1/1/2001",213)),COMVariant::createFromDate(str2Date("1/3/2001",213)),"K1"); com_Items.AddItem(""); com_Items.AddItem(""); h2 = com_Items.AddItem("Task 2"); com_Items.AddBar(h2,"Task",COMVariant::createFromDate(str2Date("1/5/2001",213)),COMVariant::createFromDate(str2Date("1/7/2001",213)),"K2"); com_Items.AddLink("L1",h1,"K1",h2,"K2"); com_Items.Link("L1",12/*exLinkText*/,"just <a1>link</a>"); } |
678 |
How can I display a picture or an icon on the link
public void init() { COM com_Items; anytype var_Items; int h1,h2; str var_s; ; super(); var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql"; var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0"; var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN"; var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="; exg2antt1.Images(COMVariant::createFromStr(var_s)); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; h1 = com_Items.AddItem("Task 1"); com_Items.AddBar(h1,"Task",COMVariant::createFromDate(str2Date("1/1/2001",213)),COMVariant::createFromDate(str2Date("1/3/2001",213)),"K1"); com_Items.AddItem(""); com_Items.AddItem(""); com_Items.AddItem(""); com_Items.AddItem(""); h2 = com_Items.AddItem("Task 2"); com_Items.AddBar(h2,"Task",COMVariant::createFromDate(str2Date("1/5/2001",213)),COMVariant::createFromDate(str2Date("1/7/2001",213)),"K2"); com_Items.AddLink("L1",h1,"K1",h2,"K2"); com_Items.Link("L1",12/*exLinkText*/,"just <img>1</img> link"); } |
677 |
How can I display a picture or an icon on the link
public void init() { COM com_Items; anytype var_Items; int h1,h2; ; super(); exg2antt1.HTMLPicture("pic1","c:\\exontrol\\images\\zipdisk.gif"); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; h1 = com_Items.AddItem("Task 1"); com_Items.AddBar(h1,"Task",COMVariant::createFromDate(str2Date("1/1/2001",213)),COMVariant::createFromDate(str2Date("1/3/2001",213)),"K1"); com_Items.AddItem(""); com_Items.AddItem(""); com_Items.AddItem(""); com_Items.AddItem(""); h2 = com_Items.AddItem("Task 2"); com_Items.AddBar(h2,"Task",COMVariant::createFromDate(str2Date("1/5/2001",213)),COMVariant::createFromDate(str2Date("1/7/2001",213)),"K2"); com_Items.AddLink("L1",h1,"K1",h2,"K2"); com_Items.Link("L1",12/*exLinkText*/,"<img>pic1</img><br><br>just a link"); } |
676 |
How can I display some HTML text or caption on link
public void init() { COM com_Items; anytype var_Items; int h1,h2; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; h1 = com_Items.AddItem("Task 1"); com_Items.AddBar(h1,"Task",COMVariant::createFromDate(str2Date("1/1/2001",213)),COMVariant::createFromDate(str2Date("1/3/2001",213)),"K1"); h2 = com_Items.AddItem("Task 2"); com_Items.AddBar(h2,"Task",COMVariant::createFromDate(str2Date("1/5/2001",213)),COMVariant::createFromDate(str2Date("1/7/2001",213)),"K2"); com_Items.AddLink("L1",h1,"K1",h2,"K2"); com_Items.Link("L1",12/*exLinkText*/,"L<b>1</b>"); } |
675 |
How can I assign a tooltip to a link
public void init() { COM com_Items; anytype var_Items; int h1,h2; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; h1 = com_Items.AddItem("Task 1"); com_Items.AddBar(h1,"Task",COMVariant::createFromDate(str2Date("1/1/2001",213)),COMVariant::createFromDate(str2Date("1/3/2001",213)),"K1"); h2 = com_Items.AddItem("Task 2"); com_Items.AddBar(h2,"Task",COMVariant::createFromDate(str2Date("1/5/2001",213)),COMVariant::createFromDate(str2Date("1/7/2001",213)),"K2"); com_Items.AddLink("L1",h1,"K1",h2,"K2"); com_Items.Link("L1",12/*exLinkText*/,"L<b>1</b>"); com_Items.Link("L1",13/*exLinkToolTip*/,"This is a bit of text that's shown when the cursor hovers the link"); } |
674 |
Can I change the width or the size of the link
public void init() { COM com_Items; anytype var_Items; int h1,h2; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; h1 = com_Items.AddItem("Task 1"); com_Items.AddBar(h1,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"K1"); h2 = com_Items.AddItem("Task 2"); com_Items.AddBar(h2,"Task",COMVariant::createFromDate(str2Date("1/5/2001",213)),COMVariant::createFromDate(str2Date("1/7/2001",213)),"K2"); com_Items.AddLink("L1",h1,"K1",h2,"K2"); com_Items.Link("L1",9/*exLinkStyle*/,COMVariant::createFromInt(0)); com_Items.Link("L1",10/*exLinkWidth*/,COMVariant::createFromInt(2)); } |
673 |
Can I change the style of the link
public void init() { COM com_Items; anytype var_Items; int h1,h2; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; h1 = com_Items.AddItem("Task 1"); com_Items.AddBar(h1,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"K1"); h2 = com_Items.AddItem("Task 2"); com_Items.AddBar(h2,"Task",COMVariant::createFromDate(str2Date("1/5/2001",213)),COMVariant::createFromDate(str2Date("1/7/2001",213)),"K2"); com_Items.AddLink("L1",h1,"K1",h2,"K2"); com_Items.Link("L1",9/*exLinkStyle*/,COMVariant::createFromInt(4)); } |
672 |
Can I change the color of the link
public void init() { COM com_Items; anytype var_Items; int h1,h2; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; h1 = com_Items.AddItem("Task 1"); com_Items.AddBar(h1,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"K1"); h2 = com_Items.AddItem("Task 2"); com_Items.AddBar(h2,"Task",COMVariant::createFromDate(str2Date("1/5/2001",213)),COMVariant::createFromDate(str2Date("1/7/2001",213)),"K2"); com_Items.AddLink("L1",h1,"K1",h2,"K2"); com_Items.Link("L1",8/*exLinkColor*/,COMVariant::createFromInt(255)); } |
671 |
Can I change the part of the bar where the link ends
public void init() { COM com_Items; anytype var_Items; int h1,h2; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; h1 = com_Items.AddItem("Task 1"); com_Items.AddBar(h1,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"K1"); h2 = com_Items.AddItem("Task 2"); com_Items.AddBar(h2,"Task",COMVariant::createFromDate(str2Date("1/5/2001",213)),COMVariant::createFromDate(str2Date("1/7/2001",213)),"K2"); com_Items.AddLink("L1",h1,"K1",h2,"K2"); com_Items.Link("L1",6/*exLinkStartPos*/,COMVariant::createFromInt(1)); com_Items.Link("L1",7/*exLinkEndPos*/,COMVariant::createFromInt(1)); } |
670 |
Can I change the part of the bar where the link starts
public void init() { COM com_Items; anytype var_Items; int h1,h2; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; h1 = com_Items.AddItem("Task 1"); com_Items.AddBar(h1,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"K1"); h2 = com_Items.AddItem("Task 2"); com_Items.AddBar(h2,"Task",COMVariant::createFromDate(str2Date("1/5/2001",213)),COMVariant::createFromDate(str2Date("1/7/2001",213)),"K2"); com_Items.AddLink("L1",h1,"K1",h2,"K2"); com_Items.Link("L1",6/*exLinkStartPos*/,COMVariant::createFromInt(0)); } |
669 |
How can I associate an extra data to a link
public void init() { COM com_Items; anytype var_Items; int h1,h2; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; h1 = com_Items.AddItem("Task 1"); com_Items.AddBar(h1,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"K1"); h2 = com_Items.AddItem("Task 2"); com_Items.AddBar(h2,"Task",COMVariant::createFromDate(str2Date("1/5/2001",213)),COMVariant::createFromDate(str2Date("1/7/2001",213)),"K2"); com_Items.AddLink("L1",h1,"K1",h2,"K2"); com_Items.Link("L1",5/*exLinkUserData*/,"your data"); } |
668 |
How can I show or hide a specified link
public void init() { COM com_Items; anytype var_Items; int h1,h2; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; h1 = com_Items.AddItem("Task 1"); com_Items.AddBar(h1,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"K1"); h2 = com_Items.AddItem("Task 2"); com_Items.AddBar(h2,"Task",COMVariant::createFromDate(str2Date("1/5/2001",213)),COMVariant::createFromDate(str2Date("1/7/2001",213)),"K2"); com_Items.AddLink("L1",h1,"K1",h2,"K2"); com_Items.Link("L1",3/*exLinkEndBar*/,COMVariant::createFromBoolean(false)); } |
667 |
How can I get the key of the bar where the link end
public void init() { COM com_Items; anytype var_Items; int h1,h2; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; h1 = com_Items.AddItem("Task 1"); com_Items.AddBar(h1,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"K1"); h2 = com_Items.AddItem("Task 2"); com_Items.AddBar(h2,"Task",COMVariant::createFromDate(str2Date("1/5/2001",213)),COMVariant::createFromDate(str2Date("1/7/2001",213)),"K2"); com_Items.AddLink("L1",h1,"K1",h2,"K2"); com_Items.AddItem(com_Items.Link("L1",3/*exLinkEndBar*/)); } |
666 |
How can I get the key of the bar where the link starts
public void init() { COM com_Items; anytype var_Items; int h1,h2; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; h1 = com_Items.AddItem("Task 1"); com_Items.AddBar(h1,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"K1"); h2 = com_Items.AddItem("Task 2"); com_Items.AddBar(h2,"Task",COMVariant::createFromDate(str2Date("1/5/2001",213)),COMVariant::createFromDate(str2Date("1/7/2001",213)),"K2"); com_Items.AddLink("L1",h1,"K1",h2,"K2"); com_Items.AddItem(com_Items.Link("L1",1/*exLinkStartBar*/)); } |
665 |
How can I get the handle of the item where the link ends
public void init() { COM com_Items; anytype var_Items; int h1,h2; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; h1 = com_Items.AddItem("Task 1"); com_Items.AddBar(h1,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"K1"); h2 = com_Items.AddItem("Task 2"); com_Items.AddBar(h2,"Task",COMVariant::createFromDate(str2Date("1/5/2001",213)),COMVariant::createFromDate(str2Date("1/7/2001",213)),"K2"); com_Items.AddLink("L1",h1,"K1",h2,"K2"); com_Items.AddItem(com_Items.Link("L1",2/*exLinkEndItem*/)); } |
664 |
How can I get the handle of the item where the link starts
public void init() { COM com_Items; anytype var_Items; int h1,h2; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; h1 = com_Items.AddItem("Task 1"); com_Items.AddBar(h1,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"K1"); h2 = com_Items.AddItem("Task 2"); com_Items.AddBar(h2,"Task",COMVariant::createFromDate(str2Date("1/5/2001",213)),COMVariant::createFromDate(str2Date("1/7/2001",213)),"K2"); com_Items.AddLink("L1",h1,"K1",h2,"K2"); com_Items.AddItem(com_Items.Link("L1",0/*exLinkStartItem*/)); } |
663 |
How can I enumerate the links in the chart
public void init() { COM com_Items; anytype var_Items; int h1,h2; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; h1 = com_Items.AddItem("Task 1"); com_Items.AddBar(h1,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"K1"); h2 = com_Items.AddItem("Task 2"); com_Items.AddBar(h2,"Task",COMVariant::createFromDate(str2Date("1/5/2001",213)),COMVariant::createFromDate(str2Date("1/7/2001",213)),"K2"); com_Items.AddLink("L1",h1,"K1",h2,"K2"); com_Items.AddLink("L2",h2,"K2",h1,"K1"); com_Items.AddItem(com_Items.FirstLink()); com_Items.AddItem(com_Items.NextLink(com_Items.FirstLink())); } |
662 |
How can I access the properties and method of the link between two bars
public void init() { COM com_Items; anytype var_Items; int h1,h2; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; h1 = com_Items.AddItem("Task 1"); com_Items.AddBar(h1,"Task",COMVariant::createFromDate(str2Date("1/1/2001",213)),COMVariant::createFromDate(str2Date("1/3/2001",213)),"K1"); h2 = com_Items.AddItem("Task 2"); com_Items.AddBar(h2,"Task",COMVariant::createFromDate(str2Date("1/5/2001",213)),COMVariant::createFromDate(str2Date("1/7/2001",213)),"K2"); com_Items.AddLink("L1",h1,"K1",h2,"K2"); com_Items.Link("L1",12/*exLinkText*/,"L<b>1</b>"); } |
661 |
How can I remove a link between two bars
public void init() { COM com_Items; anytype var_Items; int h1,h2; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; h1 = com_Items.AddItem("Task 1"); com_Items.AddBar(h1,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"K1"); h2 = com_Items.AddItem("Task 2"); com_Items.AddBar(h2,"Task",COMVariant::createFromDate(str2Date("1/5/2001",213)),COMVariant::createFromDate(str2Date("1/7/2001",213)),"K2"); com_Items.AddLink("L1",h1,"K1",h2,"K2"); com_Items.ClearLinks(); } |
660 |
How can I remove a link between two bars
public void init() { COM com_Items; anytype var_Items; int h1,h2; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; h1 = com_Items.AddItem("Task 1"); com_Items.AddBar(h1,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"K1"); h2 = com_Items.AddItem("Task 2"); com_Items.AddBar(h2,"Task",COMVariant::createFromDate(str2Date("1/5/2001",213)),COMVariant::createFromDate(str2Date("1/7/2001",213)),"K2"); com_Items.AddLink("L1",h1,"K1",h2,"K2"); com_Items.RemoveLink("L1"); } |
659 |
How do I add a link between two bars
public void init() { COM com_Items; anytype var_Items; int h1,h2; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; h1 = com_Items.AddItem("Task 1"); com_Items.AddBar(h1,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"K1"); h2 = com_Items.AddItem("Task 2"); com_Items.AddBar(h2,"Task",COMVariant::createFromDate(str2Date("1/5/2001",213)),COMVariant::createFromDate(str2Date("1/7/2001",213)),"K2"); com_Items.AddLink("L1",h1,"K1",h2,"K2"); } |
658 |
How do I ungroup the bars in the chart
public void init() { COM com_Items; anytype var_Items; int h1,h2; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; h1 = com_Items.AddItem("Task 1"); com_Items.AddBar(h1,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"K1"); h2 = com_Items.AddItem("Task 2"); com_Items.AddBar(h2,"Task",COMVariant::createFromDate(str2Date("1/5/2001",213)),COMVariant::createFromDate(str2Date("1/7/2001",213)),"K2"); com_Items.GroupBars(h1,"K1",true,h2,"K2",true); com_Items.GroupBars(h1,"K1",false,h2,"K2",false); com_Items.UngroupBars(h1,"K1",h2,"K2"); } |
657 |
How do I group one or more bars in the chart, so they are moved together
public void init() { COM com_Items; anytype var_Items; int h1,h2; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; h1 = com_Items.AddItem("Task 1"); com_Items.AddBar(h1,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"K1"); h2 = com_Items.AddItem("Task 2"); com_Items.AddBar(h2,"Task",COMVariant::createFromDate(str2Date("1/5/2001",213)),COMVariant::createFromDate(str2Date("1/7/2001",213)),"K2"); com_Items.GroupBars(h1,"K1",true,h2,"K2",true); com_Items.GroupBars(h1,"K1",false,h2,"K2",false); } |
656 |
How do I find the number or count of bars in the item
public void init() { COM com_Items; anytype var_Items; int h; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; h = com_Items.AddItem("Task 1"); com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/1/2001",213)),COMVariant::createFromDate(str2Date("1/2/2001",213)),"K1"); com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/4/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),"K2"); com_Items.ItemBar(h,"K2",3/*exBarCaption*/,com_Items.ItemBar(h,"<*>",256/*exBarsCount*/)); } |
655 |
How can I assign any extra data to a bar in the chart
public void init() { COM com_Items; anytype var_Items; int h; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; h = com_Items.AddItem("Task 1"); com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),"K1"); com_Items.ItemBar(h,"K1",17/*exBarData*/,"your data"); } |
654 |
How can I enable or disable resizing the percent value of a progress bar, at runtime
public void init() { COM com_Bar,com_Items; anytype var_Bar,var_Items; int h; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Bar = COM::createFromObject(exg2antt1.Chart().Bars()).Add("Task%Progress"); com_Bar = var_Bar; com_Bar.Shortcut("Percent"); var_Items = exg2antt1.Items(); com_Items = var_Items; h = com_Items.AddItem("Task 1"); com_Items.AddBar(h,"Percent",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),"K1"); com_Items.ItemBar(h,"K1",12/*exBarPercent*/,COMVariant::createFromReal(0.35)); com_Items.ItemBar(h,"K1",16/*exBarCanResizePercent*/,COMVariant::createFromBoolean(false)); } |
653 |
Is there any way to change the background color for percent value being displayed on the progress bar
public void init() { COM com_Bar,com_Items; anytype var_Bar,var_Items; int h; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Bar = COM::createFromObject(exg2antt1.Chart().Bars()).Add("Task%Progress"); com_Bar = var_Bar; com_Bar.Shortcut("Percent"); var_Items = exg2antt1.Items(); com_Items = var_Items; h = com_Items.AddItem("Task 1"); com_Items.AddBar(h,"Percent",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),"K1"); com_Items.ItemBar(h,"K1",12/*exBarPercent*/,COMVariant::createFromReal(0.35)); com_Items.ItemBar(h,"K1",14/*exBarShowPercentCaption*/,COMVariant::createFromBoolean(true)); com_Items.ItemBar(h,"K1",13/*exBarPercentCaptionFormat*/,"<bgcolor=FF0000> %p%</bgcolor>"); } |
652 |
Is there any way to change the color for percent value being displayed on the progress bar
public void init() { COM com_Bar,com_Items; anytype var_Bar,var_Items; int h; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Bar = COM::createFromObject(exg2antt1.Chart().Bars()).Add("Task%Progress"); com_Bar = var_Bar; com_Bar.Shortcut("Percent"); var_Items = exg2antt1.Items(); com_Items = var_Items; h = com_Items.AddItem("Task 1"); com_Items.AddBar(h,"Percent",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),"K1"); com_Items.ItemBar(h,"K1",12/*exBarPercent*/,COMVariant::createFromReal(0.35)); com_Items.ItemBar(h,"K1",14/*exBarShowPercentCaption*/,COMVariant::createFromBoolean(true)); com_Items.ItemBar(h,"K1",13/*exBarPercentCaptionFormat*/,"<fgcolor=FF0000>%p%</fgcolor>"); } |
651 |
Is there any way to change the font for percent value being displayed on the progress bar
public void init() { COM com_Bar,com_Items; anytype var_Bar,var_Items; int h; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Bar = COM::createFromObject(exg2antt1.Chart().Bars()).Add("Task%Progress"); com_Bar = var_Bar; com_Bar.Shortcut("Percent"); var_Items = exg2antt1.Items(); com_Items = var_Items; h = com_Items.AddItem("Task 1"); com_Items.AddBar(h,"Percent",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),"K1"); com_Items.ItemBar(h,"K1",12/*exBarPercent*/,COMVariant::createFromReal(0.35)); com_Items.ItemBar(h,"K1",14/*exBarShowPercentCaption*/,COMVariant::createFromBoolean(true)); com_Items.ItemBar(h,"K1",13/*exBarPercentCaptionFormat*/,"<b><font Tahoma;12>%%p</font></b>"); } |
650 |
How can I horizontally align the caption / percent of a progress-bar
public void init() { COM com_Bar,com_Bars,com_Chart,com_Items; anytype var_Bar,var_Bars,var_Chart,var_Items; int h; ; super(); exg2antt1.BeginUpdate(); exg2antt1.Columns().Add("Task"); var_Chart = exg2antt1.Chart(); com_Chart = var_Chart; com_Chart.LevelCount(2); /*should be called during the form's activate method*/ com_Chart.PaneWidth(false,128); com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Bars = COM::createFromObject(com_Chart.Bars()); com_Bars = var_Bars; var_Bar = COM::createFromObject(com_Bars).Add("Task%Progress"); com_Bar = var_Bar; com_Bar.Shortcut("Percent"); com_Bar.Def(14/*exBarShowPercentCaption*/,COMVariant::createFromBoolean(true)); com_Bar.Def(12/*exBarPercent*/,COMVariant::createFromInt(1)); var_Items = exg2antt1.Items(); com_Items = var_Items; h = com_Items.AddItem("Left"); com_Items.AddBar(h,"Percent",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),"K1"); com_Items.ItemBar(h,"K1",15/*exBarAlignPercentCaption*/,COMVariant::createFromInt(0)); h = com_Items.AddItem("Center"); com_Items.AddBar(h,"Percent",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),"K1"); com_Items.ItemBar(h,"K1",15/*exBarAlignPercentCaption*/,COMVariant::createFromInt(1)); h = com_Items.AddItem("Right"); com_Items.AddBar(h,"Percent",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),"K1"); com_Items.ItemBar(h,"K1",15/*exBarAlignPercentCaption*/,COMVariant::createFromInt(2)); h = com_Items.AddItem("Left"); com_Items.AddBar(h,"Percent",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),"K1"); com_Items.ItemBar(h,"K1",15/*exBarAlignPercentCaption*/,COMVariant::createFromInt(0)); com_Items.ItemBar(h,"K1",12/*exBarPercent*/,COMVariant::createFromReal(0.5)); h = com_Items.AddItem("Center"); com_Items.AddBar(h,"Percent",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),"K1"); com_Items.ItemBar(h,"K1",12/*exBarPercent*/,COMVariant::createFromReal(0.5)); com_Items.ItemBar(h,"K1",15/*exBarAlignPercentCaption*/,COMVariant::createFromInt(1)); h = com_Items.AddItem("Right"); com_Items.AddBar(h,"Percent",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),"K1"); com_Items.ItemBar(h,"K1",15/*exBarAlignPercentCaption*/,COMVariant::createFromInt(2)); com_Items.ItemBar(h,"K1",12/*exBarPercent*/,COMVariant::createFromReal(0.5)); exg2antt1.EndUpdate(); } /* public void activate(boolean _active) { ; super(_active); exg2antt1.Chart().PaneWidth(false,128); } */ |
649 |
Is there any way to change the format of the percent being displayed on the progress bar
public void init() { COM com_Bar,com_Items; anytype var_Bar,var_Items; int h; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Bar = COM::createFromObject(exg2antt1.Chart().Bars()).Add("Task%Progress"); com_Bar = var_Bar; com_Bar.Shortcut("Percent"); var_Items = exg2antt1.Items(); com_Items = var_Items; h = com_Items.AddItem("Task 1"); com_Items.AddBar(h,"Percent",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),"K1"); com_Items.ItemBar(h,"K1",12/*exBarPercent*/,COMVariant::createFromReal(0.4)); com_Items.ItemBar(h,"K1",14/*exBarShowPercentCaption*/,COMVariant::createFromBoolean(true)); com_Items.ItemBar(h,"K1",13/*exBarPercentCaptionFormat*/,"<b>%p/100</b>"); } |
648 |
How can I show or hide the percent value in the progress bar
public void init() { COM com_Bar,com_Items; anytype var_Bar,var_Items; int h; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Bar = COM::createFromObject(exg2antt1.Chart().Bars()).Add("Task%Progress"); com_Bar = var_Bar; com_Bar.Shortcut("Percent"); var_Items = exg2antt1.Items(); com_Items = var_Items; h = com_Items.AddItem("Task 1"); com_Items.AddBar(h,"Percent",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),"K1"); com_Items.ItemBar(h,"K1",12/*exBarPercent*/,COMVariant::createFromReal(0.4)); com_Items.ItemBar(h,"K1",14/*exBarShowPercentCaption*/,COMVariant::createFromBoolean(true)); } |
647 |
How can I change the percent value in a progress bar
public void init() { COM com_Bar,com_Items; anytype var_Bar,var_Items; int h; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Bar = COM::createFromObject(exg2antt1.Chart().Bars()).Add("Task%Progress"); com_Bar = var_Bar; com_Bar.Shortcut("Percent"); var_Items = exg2antt1.Items(); com_Items = var_Items; h = com_Items.AddItem("Task 1"); com_Items.AddBar(h,"Percent",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),"K1"); com_Items.ItemBar(h,"K1",12/*exBarPercent*/,COMVariant::createFromReal(0.4)); } |
646 |
How can I add a percent bar
// BarResize event - Occurs when a bar is moved or resized. void onEvent_BarResize(int _Item,COMVariant _Key) { ; print( _Key ); } public void init() { COM com_Bar,com_Bars,com_Chart,com_Items; anytype var_Bar,var_Bars,var_Chart,var_Items; int h; ; super(); exg2antt1.BeginUpdate(); exg2antt1.Columns().Add("Task"); var_Chart = exg2antt1.Chart(); com_Chart = var_Chart; com_Chart.LevelCount(2); com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); /*should be called during the form's activate method*/ com_Chart.PaneWidth(false,64); var_Bars = COM::createFromObject(com_Chart.Bars()); com_Bars = var_Bars; var_Bar = COM::createFromObject(com_Bars).Add("Task%Progress"); com_Bar = var_Bar; com_Bar.Shortcut("P"); com_Bar.Def(14/*exBarShowPercentCaption*/,COMVariant::createFromBoolean(true)); var_Items = exg2antt1.Items(); com_Items = var_Items; h = com_Items.AddItem("Task 1"); com_Items.AddBar(h,"P",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),"K1"); com_Items.ItemBar(h,"K1",12/*exBarPercent*/,COMVariant::createFromReal(0.4)); h = com_Items.AddItem("Task 2"); com_Items.AddBar(h,"Task%Progress",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),"K2"); com_Items.ItemBar(h,"K2",12/*exBarPercent*/,COMVariant::createFromReal(0.15)); exg2antt1.EndUpdate(); } /* public void activate(boolean _active) { ; super(_active); exg2antt1.Chart().PaneWidth(false,64); } */ |
645 |
How can I fix or lock a specified bar at runtime, in the chart
public void init() { COM com_Items; anytype var_Items; int h; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; h = com_Items.AddItem("Task 1"); com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),"K1"); com_Items.ItemBar(h,"K1",10/*exBarCanResize*/,COMVariant::createFromBoolean(false)); com_Items.ItemBar(h,"K1",11/*exBarCanMove*/,COMVariant::createFromBoolean(false)); } |
644 |
How can I enabled or disable moving a specified bar at runtime, in the chart
public void init() { COM com_Items; anytype var_Items; int h; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; h = com_Items.AddItem("Task 1"); com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),"K1"); com_Items.ItemBar(h,"K1",10/*exBarCanResize*/,COMVariant::createFromBoolean(false)); com_Items.ItemBar(h,"K1",11/*exBarCanMove*/,COMVariant::createFromBoolean(false)); } |
643 |
How can I enabled or disable sizing a specified bar at runtime, in the chart
public void init() { COM com_Items; anytype var_Items; int h; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; h = com_Items.AddItem("Task 1"); com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),"K1"); com_Items.ItemBar(h,"K1",10/*exBarCanResize*/,COMVariant::createFromBoolean(false)); } |
642 |
How can I change the key of the bar in the chart
public void init() { COM com_Items; anytype var_Items; int h; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; h = com_Items.AddItem("Task 1"); com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),"K1"); com_Items.ItemBar(h,"K1",9/*exBarKey*/,"NewK"); com_Items.ItemBar(h,"NewK",3/*exBarCaption*/,com_Items.ItemBar(h,"NewK",9/*exBarKey*/)); } |
641 |
Can I add a bar in the chart, using your EBN files
public void init() { COM com_Items; anytype var_Items; int h; ; super(); exg2antt1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn"); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; h = com_Items.AddItem("Task 1"); com_Items.AddBar(h,"",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/5/2001",213)),"K1"," EBN "); com_Items.ItemBar(h,"K1",7/*exBarBackColor*/,COMVariant::createFromInt(16777216)); com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/6/2001",213)),COMVariant::createFromDate(str2Date("1/8/2001",213)),"K2"); } |
640 |
How can I change the background color of the bar in the chart
public void init() { COM com_Bar,com_Items; anytype var_Bar,var_Items; int h; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Bar = COM::createFromObject(exg2antt1.Chart().Bars()).Copy("Task","TaskR"); com_Bar = var_Bar; com_Bar.Color(WinApi::RGB2int(255,0,0)); var_Items = exg2antt1.Items(); com_Items = var_Items; h = com_Items.AddItem("Task 1"); com_Items.AddBar(h,"TaskR",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),"K1"); } |
639 |
How can I change the background color of the bar in the chart
public void init() { COM com_Items; anytype var_Items; int h; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); exg2antt1.Chart().ShowNonworkingDates(0); var_Items = exg2antt1.Items(); com_Items = var_Items; h = com_Items.AddItem("Task 1"); com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),"K1"); com_Items.ItemBar(h,"K1",7/*exBarBackColor*/,COMVariant::createFromInt(8421504)); } |
638 |
How can I change the background color of the HTML text or caption of the bar in the chart
public void init() { COM com_Items; anytype var_Items; int h; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; h = com_Items.AddItem("Task 1"); com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),"K1"); com_Items.ItemBar(h,"K1",3/*exBarCaption*/,"<bgcolor=FF0000> to do </bgcolor>"); } |
637 |
How can I change the foreground color of the HTML text or caption of the bar in the chart
public void init() { COM com_Items; anytype var_Items; int h; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; h = com_Items.AddItem("Task 1"); com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),"K1","t<fgcolor=0000FF>o</fgcolor> do"); com_Items.ItemBar(h,"K1",8/*exBarForeColor*/,COMVariant::createFromInt(16777215)); } |
636 |
How can I change the foreground color of the HTML text or caption of the bar in the chart
public void init() { COM com_Items; anytype var_Items; int h; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; h = com_Items.AddItem("Task 1"); com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),"K1"); com_Items.ItemBar(h,"K1",3/*exBarCaption*/,"<bgcolor=FF0000> to do </bgcolor>"); com_Items.ItemBar(h,"K1",8/*exBarForeColor*/,COMVariant::createFromInt(16777215)); } |
635 |
How can I assign a tooltip to a bar in the chart
public void init() { COM com_Items; anytype var_Items; int h; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; h = com_Items.AddItem("Task 1"); com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"K1"); com_Items.ItemBar(h,"K1",6/*exBarToolTip*/,"This is a bit of text that's displayed when the cursor hovers the bar"); } |
634 |
How can I vertically align the HTML text or caption of the bar in the chart
public void init() { COM com_Items; anytype var_Items; int h; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; h = com_Items.AddItem("Task 1"); com_Items.ItemHeight(h,32); com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),"K1"); com_Items.ItemBar(h,"K1",3/*exBarCaption*/,"<bgcolor=FF0000> to do </bgcolor>"); com_Items.ItemBar(h,"K1",5/*exBarVAlignCaption*/,COMVariant::createFromInt(0)); } |
633 |
How can I align the HTML text or caption of the bar in the chart
public void init() { COM com_Items; anytype var_Items; int h; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; h = com_Items.AddItem("Task 1"); com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),"K1"); com_Items.ItemBar(h,"K1",3/*exBarCaption*/,"<bgcolor=FF0000> to do </bgcolor>"); com_Items.ItemBar(h,"K1",4/*exBarHAlignCaption*/,COMVariant::createFromInt(0)); } |
632 |
How can I assign a text or some HTML caption to a bar in the chart
public void init() { COM com_Items; anytype var_Items; int h; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; h = com_Items.AddItem("Task 1"); com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),"K1"); com_Items.ItemBar(h,"K1",3/*exBarCaption*/," <bgcolor=FF0000>to do</bgcolor> "); } |
631 |
How can I change the ending date of the bar in the chart
public void init() { COM com_Items; anytype var_Items; int h; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; h = com_Items.AddItem("Task 1"); com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"K1"); com_Items.ItemBar(h,"K1",2/*exBarEnd*/,COMVariant::createFromDate(str2Date("1/6/2001",213))); } |
630 |
How can I change the starting date of the bar in the chart
public void init() { COM com_Items; anytype var_Items; int h; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; h = com_Items.AddItem("Task 1"); com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"K1"); com_Items.ItemBar(h,"K1",1/*exBarStart*/,COMVariant::createFromDate(str2Date("1/1/2001",213))); } |
629 |
How can I change the style or the name of the bar in the chart
public void init() { COM com_Items; anytype var_Items; int h; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; h = com_Items.AddItem("Task 1"); com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"K1"); com_Items.ItemBar(h,"K1",0/*exBarName*/,"Progress"); } |
628 |
How can I access properties and methods of the bar in the chart
public void init() { COM com_Items; anytype var_Items; int h; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; h = com_Items.AddItem("Task 1"); com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"K1"); com_Items.ItemBar(h,"K1",0/*exBarName*/,"Progress"); } |
627 |
How can I remove all bars in the item
public void init() { COM com_Items; anytype var_Items; int h; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; h = com_Items.AddItem("Task 1"); com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"K1"); com_Items.ClearBars(h); } |
626 |
How can I remove a bar from the chart
public void init() { COM com_Items; anytype var_Items; int h; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; h = com_Items.AddItem("Task 1"); com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"K1"); com_Items.RemoveBar(h,"K1"); } |
625 |
How can I add a bar and some text inside, in the chart area
public void init() { COM com_Items; anytype var_Items; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; com_Items.AddBar(com_Items.AddItem("Task 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),," to do "); } |
624 |
How can I add a bar and some text inside, in the chart area
public void init() { COM com_Items; anytype var_Items; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; com_Items.AddBar(com_Items.AddItem("Task 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),,"<bgcolor=FF0000> to do </bgcolor>"); } |
623 |
How can I add an anchor or a hyperline in the chart area
public void init() { COM com_Items; anytype var_Items; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; com_Items.AddBar(com_Items.AddItem("Task 1"),"",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/14/2001",213)),,"just a <a1>link</a>"); } |
622 |
How can I add some text or captions in the chart area
public void init() { COM com_Items; anytype var_Items; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; com_Items.AddBar(com_Items.AddItem("Task 1"),"",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/14/2001",213)),,"just a <b>caption</b>"); } |
621 |
How can I add a bar in the chart area
public void init() { COM com_Items; anytype var_Items; ; super(); exg2antt1.Columns().Add("Task"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); var_Items = exg2antt1.Items(); com_Items = var_Items; com_Items.AddBar(com_Items.AddItem("Task 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213))); } |
620 |
Is there any option to put a picture or an icon to the thumb part of the scroll bar
public void init() { str var_s; ; super(); var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql"; var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0"; var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN"; var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="; exg2antt1.Images(COMVariant::createFromStr(var_s)); exg2antt1.ScrollPartCaption(2/*exHChartScroll*/,256/*exThumbPart*/,"<img>1</img>"); exg2antt1.ScrollThumbSize(2/*exHChartScroll*/,24); } |
619 |
How can I scroll fast the chart, or page by page
public void init() { str var_s; ; super(); var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql"; var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0"; var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN"; var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="; exg2antt1.Images(COMVariant::createFromStr(var_s)); exg2antt1.ScrollHeight(20); exg2antt1.ScrollButtonWidth(20); exg2antt1.AllowChartScrollPage(true); exg2antt1.ScrollPartCaption(2/*exHChartScroll*/,2048/*exLeftB5Part*/,"<img>1</img>"); exg2antt1.ScrollPartCaption(2/*exHChartScroll*/,32/*exRightB1Part*/,"<img>2</img>"); } |
618 |
How can I scroll fast the chart, or page by page
public void init() { ; super(); exg2antt1.ScrollButtonWidth(16); exg2antt1.AllowChartScrollPage(true); exg2antt1.ScrollPartCaption(2/*exHChartScroll*/,2048/*exLeftB5Part*/,"<<"); exg2antt1.ScrollPartCaption(2/*exHChartScroll*/,32/*exRightB1Part*/,">>"); } |
617 |
How can I scroll fast the chart, or page by page
|
616 |
How can I display years, from 3 to 3
public void init() { COM com_Level; anytype var_Level; ; super(); exg2antt1.Chart().UnitWidth(64); var_Level = COM::createFromObject(exg2antt1.Chart()).Level(0); com_Level = var_Level; com_Level.Label("<%yyyy%>"); com_Level.Unit(0/*exYear*/); com_Level.Count(3); } |
615 |
How can I display years
public void init() { COM com_Level; anytype var_Level; ; super(); exg2antt1.Chart().UnitWidth(64); var_Level = COM::createFromObject(exg2antt1.Chart()).Level(0); com_Level = var_Level; com_Level.Label("<%yy%>"); com_Level.Unit(0/*exYear*/); } |
614 |
How can I display years
|
613 |
How can I display months, from 3 to 3
public void init() { COM com_Level; anytype var_Level; ; super(); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); exg2antt1.Chart().LevelCount(2); exg2antt1.Chart().UnitWidth(64); var_Level = COM::createFromObject(exg2antt1.Chart()).Level(0); com_Level = var_Level; com_Level.Label(COMVariant::createFromInt(1)); var_Level = COM::createFromObject(exg2antt1.Chart()).Level(1); com_Level = var_Level; com_Level.Label("<%mmmm%>"); com_Level.Unit(16/*exMonth*/); com_Level.Count(3); } |
612 |
How can I display months
public void init() { COM com_Level; anytype var_Level; ; super(); exg2antt1.Chart().UnitWidth(64); exg2antt1.Chart().LevelCount(2); var_Level = COM::createFromObject(exg2antt1.Chart()).Level(0); com_Level = var_Level; com_Level.Label(COMVariant::createFromInt(1)); var_Level = COM::createFromObject(exg2antt1.Chart()).Level(1); com_Level = var_Level; com_Level.Label("<%mmmm%>/<%yy%>"); com_Level.Unit(16/*exMonth*/); } |
611 |
How can I display months
public void init() { COM com_Level; anytype var_Level; ; super(); exg2antt1.Chart().LevelCount(2); exg2antt1.Chart().UnitWidth(64); var_Level = COM::createFromObject(exg2antt1.Chart()).Level(0); com_Level = var_Level; com_Level.Label(COMVariant::createFromInt(1)); var_Level = COM::createFromObject(exg2antt1.Chart()).Level(1); com_Level = var_Level; com_Level.Label(COMVariant::createFromInt(16)); } |
610 |
How can I display weeks
public void init() { COM com_Level; anytype var_Level; ; super(); exg2antt1.Chart().LevelCount(2); exg2antt1.Chart().UnitWidth(64); var_Level = COM::createFromObject(exg2antt1.Chart()).Level(0); com_Level = var_Level; com_Level.Label(COMVariant::createFromInt(17)); var_Level = COM::createFromObject(exg2antt1.Chart()).Level(1); com_Level = var_Level; com_Level.Label(COMVariant::createFromInt(256)); } |
609 |
How can I display weeks
public void init() { COM com_Level; anytype var_Level; ; super(); exg2antt1.Chart().LevelCount(2); var_Level = COM::createFromObject(exg2antt1.Chart()).Level(0); com_Level = var_Level; com_Level.Label(COMVariant::createFromInt(17)); var_Level = COM::createFromObject(exg2antt1.Chart()).Level(1); com_Level = var_Level; com_Level.Label("<%ww%>"); } |
608 |
How can I display days, from 2 to 2
public void init() { COM com_Level; anytype var_Level; ; super(); exg2antt1.Chart().LevelCount(2); var_Level = COM::createFromObject(exg2antt1.Chart()).Level(0); com_Level = var_Level; com_Level.Label(COMVariant::createFromInt(256)); var_Level = COM::createFromObject(exg2antt1.Chart()).Level(1); com_Level = var_Level; com_Level.Label("<%dd%>"); com_Level.Count(2); } |
607 |
How can I display days
public void init() { COM com_Level; anytype var_Level; ; super(); exg2antt1.Chart().LevelCount(2); var_Level = COM::createFromObject(exg2antt1.Chart()).Level(0); com_Level = var_Level; com_Level.Label(COMVariant::createFromInt(256)); var_Level = COM::createFromObject(exg2antt1.Chart()).Level(1); com_Level = var_Level; com_Level.Label("<%dd%>"); } |
606 |
How can I display days
public void init() { COM com_Level; anytype var_Level; ; super(); exg2antt1.Chart().LevelCount(2); var_Level = COM::createFromObject(exg2antt1.Chart()).Level(0); com_Level = var_Level; com_Level.Label(COMVariant::createFromInt(256)); var_Level = COM::createFromObject(exg2antt1.Chart()).Level(1); com_Level = var_Level; com_Level.Label(COMVariant::createFromInt(4096)); } |
605 |
How can I display hours, from 6 to 6
public void init() { COM com_Level; anytype var_Level; ; super(); exg2antt1.Chart().FirstVisibleDate("00:00"); exg2antt1.Chart().LevelCount(2); var_Level = COM::createFromObject(exg2antt1.Chart()).Level(0); com_Level = var_Level; com_Level.Label(COMVariant::createFromInt(4096)); var_Level = COM::createFromObject(exg2antt1.Chart()).Level(1); com_Level = var_Level; com_Level.Label("<%hh%>"); com_Level.Count(6); } |
604 |
How can I display hours
public void init() { COM com_Level; anytype var_Level; ; super(); exg2antt1.Chart().LevelCount(2); var_Level = COM::createFromObject(exg2antt1.Chart()).Level(0); com_Level = var_Level; com_Level.Label(COMVariant::createFromInt(4096)); var_Level = COM::createFromObject(exg2antt1.Chart()).Level(1); com_Level = var_Level; com_Level.Label("<%hh%>"); } |
603 |
How can I display hours
public void init() { COM com_Level; anytype var_Level; ; super(); exg2antt1.Chart().LevelCount(2); var_Level = COM::createFromObject(exg2antt1.Chart()).Level(0); com_Level = var_Level; com_Level.Label(COMVariant::createFromInt(4096)); var_Level = COM::createFromObject(exg2antt1.Chart()).Level(1); com_Level = var_Level; com_Level.Label(COMVariant::createFromInt(65536)); } |
602 |
How can I display minutes, from 15 to 15
public void init() { COM com_Level; anytype var_Level; ; super(); exg2antt1.Chart().FirstVisibleDate("00:00"); exg2antt1.Chart().LevelCount(2); var_Level = COM::createFromObject(exg2antt1.Chart()).Level(0); com_Level = var_Level; com_Level.Label(COMVariant::createFromInt(65536)); var_Level = COM::createFromObject(exg2antt1.Chart()).Level(1); com_Level = var_Level; com_Level.Label("<%nn%>"); com_Level.Count(15); } |
601 |
How can I display minutes
public void init() { COM com_Level; anytype var_Level; ; super(); exg2antt1.Chart().LevelCount(2); var_Level = COM::createFromObject(exg2antt1.Chart()).Level(0); com_Level = var_Level; com_Level.Label(COMVariant::createFromInt(65536)); var_Level = COM::createFromObject(exg2antt1.Chart()).Level(1); com_Level = var_Level; com_Level.Label("<%nn%>"); } |